//
//  ShopCell.m
//  HaoHaiSpell
//
//  Created by 郭健 on 16/6/13.
//  Copyright © 2016年 海城. All rights reserved.
//

#import "ShopCell.h"

@implementation ShopCell
<<<<<<< HEAD

=======
//@synthesize layer;
>>>>>>> 5bee59541ff07dbcbaa6fe419e6df24b39c5e23d
- (void)awakeFromNib {
    // Initialization code
}

-(void)setModel:(IndexModel *)model{

//    _model = model;
    
    self.titleLabel.text = model.goods_name;
    [self.goodsImage sd_setImageWithURL:[NSURL URLWithString:model.goods_thumb] placeholderImage:[UIImage imageNamed:@"image.png"]];
    self.prices.text = model.shop_price;
<<<<<<< HEAD
    
=======
    self.priceLabel.text = model.market_price;
    self.contectLabel.text = model.goods_brief;
}
- (IBAction)joinBtn:(UIButton *)sender {

    
    
    
    
    
    NSLog(@"加入购物车成功");
>>>>>>> 5bee59541ff07dbcbaa6fe419e6df24b39c5e23d
}

@end
